#pragma once
#include "lgspritestatic.h"
class LgSpriteGate;
class LgSpriteKey : public LgSpriteStatic
{
public:
	LgSpriteKey(const vector<RectInBalloonElemnet_t>& listRect);
	~LgSpriteKey(void);
	void SetGate(LgSpriteGate* pGate){m_pGate=pGate;}
	long Hit(RECT rect,list<RectInBalloonElemnet_t>& listRect, bool bAffect);
private:
	LgSpriteGate* m_pGate;
};

